package org.dey.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

/**
 * @author deyran
 * @date 2022/3/22 19:15
 * @classname
 * @see
 */
@Component
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RequestData<T> {
    /**
     * 当前页
     */
    private int pageNum;
    /**
     * 每页数量
     */
    private int pageSize;
    /**
     * 当前页的数量
     */
    private int size;
    /**
     * 条件
     */
    private T requirement;
    /**
     * 单个条件
     */
    private String oneRequirement;

}
